<?php
/**
 * beimuaihui System
 * Copyright(c) 2011-2020 beimuaihui.
 * @license    http://www.gnu.org/licenses/gpl.html     This software Under GPL V3 License 
 * beimuaihui@gmail.com
 * http://code.google.com/p/beimuaihui/
 * $Id: Language.php 262 2011-07-23 15:51:14Z beimuaihui $
 */


Zend_Loader::loadClass('Baogg_Db_Table');

//class Permission extends Baogg_Db_Table {
class Language  extends Baogg_Db_Table {
	/**
	 * The default table name 
	 */
	protected $_name;
	protected $_db ;
	protected $_primary; 
	
	function __construct() {			
		$this->myPrimary=$this->_primary= 'language_id';		
		$this->_name = 'language';
		parent::__construct();
	}

	function getSame($arr) {	
		$ret=array();
		
		$where['language_name']=$arr['language_name'];
		$where['language_code']=$arr['language_code'];
		return parent::getSame2($where," and ");	
	
	}

}
